package com.witdata.mysql.domain.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.time.LocalDateTime;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 题目表 实体类。
 *
 * @author admin
 * @since 2025-05-09
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table("t_question")
public class TQuestion implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 题目ID
     */
    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 题目
     */
    private String title;

    /**
     * 题目类型
     */
    private String type;

    /**
     * 答案
     */
    private String answer;

    /**
     * 分数
     */
    private Integer score;

    /**
     * 创建时间
     */
    private LocalDateTime created;

    /**
     * 更新时间
     */
    private LocalDateTime updated;

}
